{% extends "base.html" %}
{% block content%}
<div class="group">
	<ul>
		{% for group in groups %}
			<li>
				<span class="title">
					<a class="website_name" href="{{group.site.link}}" target="_blank">{{group.site.name}}</a>
					{{group.title}}
				</span>
            <a target="_blank" href="{{group.link}}">
                <img alt="{{group.title}}" src="{{group.picture}}">
            </a>          
            <div class="left">
                原价:<span class="market_price">{{group.original_price}}元</span>
                <span class="group_price">团购价格:￥<span class="price_num">{{group.current_price}}</span></span>
                <span class="rebate">折扣:{{group.discount}}折</span>
            </div>
        </li>
		{% endfor %}
	</ul>
</div>
{% endblock %}